call train_clean

tesseract chn.wenqy.exp0.tif chn.wenqy.exp0.box nobatch box.train

unicharset_extractor chn.wenqy.exp0.box

mftraining -F font_properties -U unicharset -O chn.unicharset chn.wenqy.exp0.box.tr

cntraining chn.wenqy.exp0.box.tr

ren normproto chn.normproto
ren Microfeat chn.Microfeat
ren inttemp chn.inttemp
ren pffmtable chn.pffmtable

wordlist2dawg frequent_words_list chn.freq-dawg chn.unicharset
wordlist2dawg words_list_minidx chn.word-dawg chn.unicharset

combine_tessdata chn.

move /Y chn.traineddata tessdata
move /Y chn.word-dawg tessdata
move /Y chn.freq-dawg tessdata

@echo ALL DONE for chn Training!